/****************************************
 * Copyright (c) 2015 NiuWa.
 * All rights reserved.
 * Created on 2015年4月1日
 * 
 * Contributors:
 * 	   zhangmingtao - initial implementation
 ****************************************/
package com.niuwa.p2p.core.enums;

/**
 * @title 有效"Y"无效"N"枚举
 *
 * @author zhangmingtao
 * @version 1.0
 * @created 2015年4月1日
 */
public enum AvailableEnum {
	YES("Y", "可用"), NO("N", "不可用");

	private final String value;
	private final String info;

	private AvailableEnum(String value, String info) {
		this.value = value;
		this.info = info;
	}

	public String getInfo() {
		return info;
	}

	public String getValue() {
		return value;
	}

}
